package com.yh.homestay.common;


import com.yh.homestay.pojo.UserMember;

import java.io.Serializable;

public class UserMemberEditResult implements Serializable {
    private Integer code;
    private String  msg;
    private UserMember userMember;

    public UserMemberEditResult(Integer code, String msg, UserMember userMember) {
        this.code = code;
        this.msg = msg;
        this.userMember = userMember;
    }

    @Override
    public String toString() {
        return "UserEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", userMember=" + userMember +
                '}';
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public UserMember getUserMember() {
        return userMember;
    }

    public void setUserMember(UserMember userMember) {
        this.userMember = userMember;
    }
}
